package Test4;

public enum Season implements Wearable {
    SPRING("春天来了"){
        @Override
        public void wear() {
            System.out.println("脱棉袄");
        }
    },
    SUMMER("最爱夏天"){
        @Override
        public void wear() {
            System.out.println("穿短袖了");
        }
    },
    AUTUMN("层林浸染啊"){
        @Override
        public void wear() {
            System.out.println("穿长袖");
        }
    },
    WINTER("北国风光，千里冰封"){
        @Override
        public void wear() {
            System.out.println("穿棉袄");
        }
    };


    private final String disc;
    Season(String disc) {
        this.disc = disc;
    }

    public void getDis(){
        System.out.println(this.disc);
    }

}
